<html>

<head>
<title>Collapsing and Expanding Groups</title>
<link rel="stylesheet" type="text/css" href="../../Styles/Styles.css">
</head>

<body>

<div class="PageCaption">Collapsing and Expanding Groups</div>

<p>
You can collapse one or more groups in the <a href="../WorkbookTour/GraphPane.htm">Graph Pane</a>.  When a group is collapsed, all of its vertices are replaced with a single disk that looks something like this: <img style="vertical-align:middle;" src="../../Images/CollapsedGroup.png" />.  The disk's color is the same color as the group's vertices, and the plus sign distinguishes the group from normal vertices.  The size of the disk is proportional to the number of vertices within the group.  If you have assigned a <a href="../VisualProperties/Labels.htm#Groups">label</a> to the group, the label appears next to the disk.
</p>

<p>
You can select and move a collapsed group by clicking its disk in the Graph Pane, just as you would a normal vertex.
</p>

<div class="HowToTitle">
To collapse one or more groups using the Ribbon:
</div>

<ol>

    <li class="HowToItem">
    <a href="SelectingGroups.htm">Select the groups</a> you want to collapse.
    </li>

    <li class="HowToItem">
    In the Excel Ribbon, select NodeXL, Analysis, Groups, Collapse Selected Groups.
    </li>

</ol>

<div class="HowToTitle">
To collapse one or more groups using the workbook:
</div>

<ol>

    <li class="HowToItem">
    <a href="../WorkbookTour/Worksheets.htm#SelectWorksheet">Select the Groups worksheet.</a>
    </li>

    <li class="HowToItem">
    For each group you want to collapse, set the group's Collapsed? cell to Yes.
    </li>

    <li class="HowToItem">
    <a href="../SimpleGraph/Overview.htm#ShowGraph">Show the graph</a>.
    </li>

</ol>

<div class="HowToTitle">
To collapse all groups:
</div>

<ol>

    <li class="HowToItem">
    In the Excel Ribbon, select NodeXL, Analysis, Groups, Collapse All Groups.
    </li>

</ol>

<div class="HowToTitle">
To expand one or more groups using the Ribbon:
</div>

<ol>

    <li class="HowToItem">
    <a href="SelectingGroups.htm">Select the groups</a> you want to expand.
    </li>

    <li class="HowToItem">
    In the Excel Ribbon, select NodeXL, Analysis, Groups, Expand Selected Groups.
    </li>

</ol>

<div class="HowToTitle">
To expand one or more groups using the workbook:
</div>

<ol>

    <li class="HowToItem">
    <a href="../WorkbookTour/Worksheets.htm#SelectWorksheet">Select the Groups worksheet.</a>
    </li>

    <li class="HowToItem">
    For each group you want to collapse, set the group's Collapsed? cell to No.
    </li>

    <li class="HowToItem">
    <a href="../SimpleGraph/Overview.htm#ShowGraph">Show the graph</a>.
    </li>

</ol>

<div class="HowToTitle">
To expand all groups:
</div>

<ol>

    <li class="HowToItem">
    In the Excel Ribbon, select NodeXL, Analysis, Groups, Expand All Groups.
    </li>

</ol>

<hr />
<div class="MoreInformationTitle">More Information</div>

<ul>

    <li class="MoreInformationItem">
    <a href="Overview.htm"><img src="../../Images/Back.png" />Working with Groups</a>
    </li>

<ul>

</body>
</html>
